starting to rip out generateNode functions and rewrite new to prevent redrawed nodes