A flow based design