moving typeset to utils, usage in cell and outputarea