while loop parsing works\!\!\!