timer is now working, eventsystem for nicer code?