might be done with the stmt code generation

loops etc in GenMethodsVisitor
also took \t out of all comments, they are automatically tabbed by gen
method