add transact and call, replace variables from set definitions