let's remove all these 'const's since we have events, permissions, etc. in data, which will be modified during run time.