add source code for timecount