duration feature added, to be tested...