added flow monitor