First sketch of a controller