fixed indents, added a comment