Bark interview question

How to fix an oversight in the coding challenge