figuring out how to call the plugin method