Refining the output