Yeah, I thought about that but I am not very confident with how Python handles references and values. I know that if I pass a dict, I can change it inside the function, but that seemed like a bad practice to me. I'm probably wrong there though.