moved time store to the bottom so logging time is excluded from intervals