return void is incorrect if it returns an array.