add duration in hesh