initial transaction lib file methods
fix type