resolved Issue #40 (https://github.com/mauriceling/dose/issues/40)