learned from beagle-xm mistakes