further implemented domain classifier (still not done)