heartthreader: updated to work with new library version