swap of timestamps, data