added Leap functionality