refs #23 calc ranking