using OR operators

showing a shorter way to write the code