  For compact sets $K\subset \mathbb C^{d}$, we introduce a subalgebra
$A_{D}(K)$ of $A(K)$, which allows us to obtain Mergelyan type theorems for
products of planar compact sets as well as for graphs of functions.
