changes to plugin