Removed keep reading, moved flush