add eventService && code reconstruction