Your if statement was really messy