Adding drawing for I/O