Append and linked list improvements