Added beacon mode