Learning to behave with cats