history managing is implemented