added beacon angle detection