Implemented basic ranking mechanism