thread works except for subtable transfers
working threads