removed function: isOnline