working on parsin repeat until