use ORs instead of ANDs