Failed attempts at the array function