example of loops done