A system (1) for altering the geometry of a heart (100), comprising an annuloplasty ring; a set of elongate annulus-papillary tension members (21, 22, 23, 24), each of which tension members are adapted for forming a link between said ring (10) and a papillary muscle, each of said tension members (21, 22, 23, 24) having a first end (21b, 22b, 23b, 24b) and a second end (21a, 22a, 23a, 24a); and a first set of papillary anchors (30) for connecting each of the first ends (21b, 22b, 23b, 24b) of said tension members (21, 22, 23, 24) to said muscle; and where said annuloplasty ring (10) has at least one aperture (12, 13); where each of said annulus-papillary tension members (21, 22, 23, 24) are extendable through said ring (10) through said apertures (11, 12, 13), and through an atrium to an exterior side of said atrium, such that the distance of each link between the annulus and the muscles is adjustable from a position exterior to the heart.