minor tweak to improve clarity
added solution for beads