transaction log works