code cleanup
daily & monthly stats added