change unless to if statement to avoid unless/else