begin plugin work