made if statements easier to understand