defined root as home/index