draft version of the plugin