wrong variable used for weekly earnings
clarified docs