Changed "and" to "&&"