Cups and ball magic