code snippet merge