atom.beacon code