First attempt at the plugin