prider now works. However on the (first) indexing run it segfaults, subsequent runs work.