added unregister_event_source func (derp)