Replaced 'and' with '&&'