cleaned up code indents