changed week goal function