changed return_array to result_array

work