add volatile to current_msec