added isConnected method