added ranking functions