added flow test