Fix math error
Implement weekly statistics