add while case