improve go example