Need to solve issue with duration