added clearCal() function