adding limit argument to loop