added example
close handling
v0.1.1