finished class of computing alternative scores, and its XML