fixed indentation for the if statement