Fixing the monthly and yearly sum