polish code with elegant way