adding graph filter