added beacon example