add a plugin best practice