doc cleanup, larger example