start of the plugin