added the pet controller
added the pet controller