adding debug, adding new event endpoint