finish *Go function, no tests yet