need ref-array