implement recording time