switch to wand for pypy support