if -> while