close code snippet