incorporating of weights for topics into score calculation