add check on connected device