adds a filter to the hash