removed odd i that was inserted at the top of the script