yup. I will abstract the logic into some helpfully-named functions.