add duration by merging works at notes.