changed default duration to 1 day