better config and events section