set up Tomagotchi initialize function