must not be nullptr.