making code cleaner to read
cleaning up the code so the intent is clearer