cleanup realtime flow methods, retool calculate mismatches (not yet complete)