Implemented the plugin