fixed up example a bit