+Board*
+boardmenu_to_board(BoardMenu* boardmenu)
+{
+ Board newboard = malloc(sizeof(Board));
+ TodoList** todolist_list = malloc(sizeof(TodoList*));
+
+ for (int i = 0; i < boardmenu->menu_count; i++) {
+ Menu* curmenu = boardmenu->menu_list[i];
+
+ TodoList* new_todolist = malloc(sizeof(TodoList));
+ TodoItem** item_list = malloc(sizeof(TodoItem*));
+ new_todolist->list_name = get_menu_name(curmenu);
+ new_todolist->item_count = get_menu_length(curmenu);
+
+ /* for (int j = 0; j < get_menu_length(curmenu); j++) { */
+
+ /* } */
+
+ new_todolist->item_list = item_list;
+
+ }
+
+ newboard->todolist_list = todolist_list;
+ newboard->todolist_count = boardmenu->menu_count;
+
+ return newboard;
+
+}
+