implements beacon