initializeRoot fn and R/W return values