Why this additional check? Isn't this taken care of below?