             SKAction.waitForDuration(0.1)
             ]),
         count: 100))
-}+    delay(seconds: 12, completion: shake)
+}

triangle.position = CGPoint(x: scene.size.width * 0.75,
                            y: scene.size.height * 0.50)

scene.addChild(square)
scene.addChild(circle)
scene.addChild(triangle)

    sand.physicsBody = SKPhysicsBody(circleOfRadius: sand.size.width/2)
    sand.name = "sand"
    scene.addChild(sand)
    sand.physicsBody!.restitution = 1.0
    sand.physicsBody!.density = 20.0
}

func shake() {
    scene.enumerateChildNodesWithName("sand") { node, _ in
        node.physicsBody!.applyImpulse(CGVector(dx: 0, dy: random(min: 20, max: 40)))
    }
}

delay(seconds: 2.0) {
