adding more loops