validates for positive duration