Renamed variables to clearly differentiate between flow and port stats.