added a function not to turn on again after once conected