add ranking method