syntax error in line 177; added necessary colon
fixed indentations