Typo in the 'and' boolean operator (was '&' instead of '&&')