fixed init, and added spaces between statements