added second parameter option to duration helper/computed
make duration tests pass