added frogger example code