pointer to pointer to pointer fun for interpolation