bug fix
add an example