made a static plugin method