changed old filter be a hash with a name