Renamed the loop() method to run()