specify duration of capturing