go fmt and new function changes