added flow as test