caluculating the duration is needed