changing dogs to objects