more on the applyFunction, still far from final but can return now memdata instances from data input
more on the applyFunction, still far from final but can return now memdata instances from data input