added flowData for switches