Describe the function of the spinal cord?​