fix code snippet
add metadata