small changes to root code