segfault is in transactions.  will need to re-write module anyway;