Change for loop and variable name