you could replace this line and the next by just `native.pop(old)`.