updated for history charts