the weight factor is obtained by means of the ranking table