Fixed output to be intwritable