added ranking sample