added comments regarding indexing