added ranking and setting