initial pattern matching assignment skeleton