added outputrecording