Renamed trans to result.