changed the indexs round