change #contains to #has_field