polish the structure