Added the array function.