Added list_add and list_get functions