changed index to use title