added filtered words checking