design ranking system; implements ranking mechanism to Formations;