Beacon handler