I can't see output pin in the function

you can use Macro , u can easily add input or output node as u like