added option to filter lines not only highlight