primitive name filtering as a first step
also filter out categories