cleaning up structure.