adding loop example