changed shootbox function call, so that is uses z as well