See [the original code](#diff-edce351ad117e7c6174ef794c0db7012L134)