A simple dataflow implementation