chaining comparison operators