working on wrappedFunction, stuck on my current solution...