removed code that was used on on time basis for indexing