IF and WHILE done