modified to use MentionFilter class