typo. assigning to idx instead of column