Exactly what I wanted in a controller!