DRY the if statements