change frame data to linked list