v 0.0.2 added connect detect