add cascade array function.