Tortoise: add `and` and `or`