Add while statement.