aded record indexing rule - now need to do all seperate indexes