added event binding
new features for example app