added PetWindow and 'diary_last'