initiating the plugin codes