added interface ConnHandler