add various helper functions including filtering of rows
add example of filtering rows