Ferraz (1979: 22-24) shows that this palatal phoneme occurs typically before both oral and nasal high front vowels and the glide [y]. Since [s] typically occurs before other vowels, both phonemes are in complementary distribution in these cases. Ferraz also describes exceptions to this rule.