writeboxwithlabel