polish output