inplace output