add while usage