added transaction encapsulation for the Action