calculating ww points