add godoc comments