How to replace the controller –Sunshine and Spark