Adjust code for no rankings