Magic Pen Cubes

Supermarket, $82 for 6

The "magic" in these pen cubes comes from the magnets inside. They hold pens at different points that they're attracted to. You can also stack them on top of each other or play around with different combinations. F*cking magnets... how do they work?