optionally specify recording time