store each record according to own timestamp