AMERICAN HOME MORTGAGE INVESTM AHM 2004 3 5A