prettify set type