Removed uneeded done statement from While loop and indented.