adding transaction

transaction added and updating some other methods