Added code to create root