added variable for the root