cleaned up example.