adjusting
renew filter function