v0.1.3 added connected event