add cal file and did some changes to timediffspec