changed slayer.getSNodes().add(sNode) to sNode.getsLayers.add(sLayer),