Use "and" instead of "&&" for all logical AND operations