simple dependecy injection for function (for fun)