you should not use `and` operator, but `&&`. They don't have the same behavior.