initial version of table filter working