Pay attention to idx parameter.