implement WPM Plugin