wrap code snippet