made index variables make sense