replace setInstance by newT in Transaction
check beginTs