Adding functionality to show past items