add timestamps method to index