really cool method of making a switch take multiple parameters per case that ChatGPT taught me today. Instead of a literal case 0, 1, 2, 3, it turns the collective parameters into a numerical output to match the case.