change loop counts