we can also just call mapFn.apply(input) and avoid the extra sequences call