added box/line mode but disabled for now