refactor plug