Dino catalog/mohammad Attempt 1

There are side effects here that you're relying on that probably aren't necessary. This approach is generally very clean, though.