modified public/index