Why not move this outside of the `if..else`?