function of recording time