adds linked list. adds btree search