perhaps use `isDefined(value)` here?