added duration-parameter - oh yeah 

added duration-parameter - oh yeah