Fixed if statement Ian ruined