Working fn.id_select