you can move the `done()` and `return` to the outer `if` statement so it's not duplicated