fixing duration
fixing duration..
should be working finally
I think it works