Use linked list to save data.