seems to work with pypy