Add to_list and from_list