Changed indentation to spaces
Removed excess indent function and comment