It's about time we extracted this logic :)