working on transactions validation