private static void removeOldRecords(ArrayList<Long> times) {
        Iterator<Long> it = times.listIterator();
        while ( it.hasNext() )
            if ( isOld( it.next() ))
                it.remove();
    }