fixed up example