`endDd` is not used, can you remove?