A motor device for bypassing or bridging an area of neurological damage, including at least one electrode having an electric mechanism for generating electric current, and a programming mechanism for programming the electrode. A biofeedback system and an artificial spinal cord. A method of stimulating muscle in a person having neurological damage, by applying electric current to nerves, bypassing or bridging an area of neurological damage, and moving the muscle in a natural manner. Methods of moving muscles of a paraplegic, reducing or eliminating pain from an individual, and treating foot drop. A therapeutic method for exercising for an individual with neurological damage. A method of generating movement of muscle and sensing that movement in a person having neurological damage. A method of generating movement of muscle using information from the brain and sensing that movement in a person having neurological damage. A method of diagnosing neurological damage.