ceating the new index