return the indexhandler not new func