first version of the plugin