Match and write

Match and write