modified history.cpp comments