setup the structure