This would read slightly better if `'cat'` came before `'dog'`.