Updated: Use a do-while just to be cool