added part of speech filtering