some update
add valid snippet