change loop index variables scopes, weighted average GPAs out across multiple sections by the same prof in same semester