updated index for readability