ranking - work process 9 ( need optimizing )