A motor device for stimulating muscle, including at least one electrode for generating electric current operatively attached to an electrode array and exposed on an inner surface of an array body, and a programming mechanism of a computer that executes an algorithm stored on non-transitory computer readable medium and includes an information storage mechanism and a user-operated interface in electrical connection with said at least one electrode for programming operation of said at least one electrode, said motor device being implanted in an individual and applying electric current to nerves at an area above an area of neurological damage.