A subcutaneous implantable device for aligning a spine having a plurality of vertebrae including a first brace assembly secured to a first vertebra of the spine, a second brace assembly secured to a second vertebra of the spine, a rod secured by the at least two brace assemblies, the rod arranged for limited sliding movement within the at least two brace assemblies, a gear mechanism attached to the rod, a control means attached to the gear mechanism, and a cable fixedly secured to a third vertebra of the spine by an anchor. The third vertebra is located between the first and second vertebrae, and the cable is arranged for pulling the third vertebra towards the rod. A subcutaneous implantable device for gradually lengthening a bone.