changed operator && to and