Beginning to add beacon identification to the basic detection algorithm