- FIX: #22 calculation of duration