half way there (append and search are working)