improved transaction management