there's several 'state' vars now. Can we identify these to be more grepable? maybe return inspectorState here? machineState below?