Splitting into two categories