fixed Tx,added Constants