add update2closed() func;
update getCurrTime() func to getTime();