concept of flow and error control