setting up structure