try a rebased version of ar threadsafe