added comparison chaining