creates original function container