Added lines getting pet's name.