adding GetTransaction method