adding history fragment stuff