making lastProcessed a timestamp