remove _isConnected() if condition which is not needed here