commit loops