isn't this effectively already done with the check on line 91?