improve working, printlayoutword