setting duration will not affect in/out if they are not explicit