Add timer system to Main.java:run()