filter and pagination added to table