introduce node class for function instead of in-line parsing