use time::Duration soas to work on master