add a util/functions.go