structure of plugin establishment