implemented domain filtering (issue #10)