cleaned up frogs controller