completed Node code and ScaleStructure code