tracking and mode control sort of functional :)