change result array to list