add partials for user defined functions