Use linked list for gadgets chaining