Checking for root == null