removed code in index