Implement a simple controller