add a basic demo of controller.