Cats algebra