Deleted Main Body of Code, Fixed the turnOnAll method