updated change history in main.cpp