the code i wish i didn't have to write