pluginize, setting events