have separate check for root