fixed indentation and comments

ready for submission (?)