moved rendering out of nodes and parser
formatting