why is this check needed?