still mistakes in calculate_rankings
mistakes in annotations!