Deeper explanation of board_init_f function