cleaning up structure