add snippet
add notes in readme