initialize package
add stop handler
update example