Using function() within a function node

Have a look at this post: