SpringPets sample code