implementation of ranking and operation feature