associative pattern matching :-)