counterstream parsing works