final version, comparing epsilon for timestamps. if smaller than 5, then repetitive