add index to amount field