removed code from Index