pass spec for Tamagotchi create function