Updated multi-layer sample.