implemented history gui