first version of plugin