second condition with logical operator