fixed indents for code formatting