integrated several examples with new layout system