modification of plugin