change =~ to match_array