made the plugin and migrate method return