added a commenting for up_rank