oh i finally get it! So to confirm, the user inputs the color dict in order of (number: 'color string') but inputs the event_id dict in order of ('label string': number)?

color = {1: 'green', 2: 'yellow', 3: 'red', 4: 'c', 5: 'black', 32: 'blue'}
event_id = {'aud_l': 1, 'aud_r': 2, 'vis_l': 3, 'vis_r': 4, 'cond_l': 5, 'cond_r': 32}