now output is resizeable