patch output