I wasn't sure of a good way of doing this, so I made these small functions and this `if-let`. Doesn't feel quite right though :grimacing: