add new function as pluginfile