not worrying about splint for now since double linked list is hard. also make error buffer up to 200 chars