add a default duration if the duration isn't necessary.