changing history to get_history