Edited "AND" condition