This version produces segfaults. I’m not sure why.