Added an index to the datamodel