removed some code from index