Unlocking the secrets of the animal mind