modify event_server for front end