start of filtering gui