working on add pet controller