Gave more descriptive names to index variables