frog object implemented