     override func viewDidAppear(_ animated: Bool) {
         super.viewDidAppear(animated)
         
+        // Start the snowing effect
         startSnowing()
     }
 

        backgroundView.frame = self.view.frame        
    }
    
    public func startSnowing() {
        emitter = CAEmitterLayer()
        
        emitter.emitterPosition = CGPoint(x: view.frame.size.width / 2.0, y: 0)

        view.layer.addSublayer(emitter)
    }
    
    func stopSnowing() {
        emitter?.birthRate = 0
    }
    
