add cake pattern example.