Change syntax to the loop counter