connect to beagleBone namespace; simplify logic