fixed fname, and added $1 to amount as the text says