Changed indentation on line 107 for if statement