Changes to check messages times