adding comments and godoc