progress on PetAttributes now. commented more and renamed variables.