Turns out I'm not an idiot after all ;)