Adding type struct
Populate state