fix bugs
add more examples