utilities for Go