Training the brain for functional gain