Changed 'and' to '&&'