implementing more trx validation