Use duration to simplify jam.