refactoring (changed float[3] to LeapPosition)