node class done- prbly leaky