Implements box and triangular box