"If" with "and" and "or" statement