merged work from beaglebone