initalize structure