implemented getting recent history