beaglebone: previous approach was really naÃive