changed a bit, got eventlistener working