added functions in SGNDArray