pets 2 code copied over