add label show time function