Add rudimentary control loop