One nightly ritual is petting the dog.