added cake pattern