add adjustable time duration
update todo