cleaned up some white space and indentation errors