Setting up structure.