template support for simple array data to replace