do not allow nulls in duration