the controller plugin