forin to while, closed <small> tag