deleted extra code on index