setting up the structure