creating variable for root