a case in duality brooke cs andy