Update data structures

Declare and initialize some data structures using in this part