adding simple controller that runs in realtime