added minimal beacon functionality (to calibrate)