trying to set transactions on segments properly