added roots support