added frog only assembly code