Cleaned up the ok function in the traffic domain so it's more clear what's going on.