Wouldn't it be clearer to move this to the if above?