rename variable, change loop