experimenting with realtime clock, trying to fix implication graph / planner. almost working