added beacon class