added basic functionality for linking user functions