Working on the initialization of the data structures