reconstracte to the second data structure