changed name of box/rect primitive routine