more trivial go code