implementation of flow control: part 1