added filtering button function,currently useless