Frogs and object creation function