The array-returning function now compiles, but probably does not work.