Questions for while-loop