bead detection kinda working--pretty finicky