set up the structure