How can I get more than one condition to work?