renamed wrapped inputs/outputs to tuples