Add comment to beads.cpp