correction to Go sample