added ranking stuff