refactor(leapFn): extract additional functions aspect to an own service