I think it probably has something with the fact that current_num and start_time are declared static.