use duration if there is one