Switched from controller to leap.loop method