search implemented at model level