refactored TX constants and commented out debug couts