cal.cpp changed