Put things in correct for loop