pattern matching assignment.