modifcations for historical data