examples provided in godoc