begin create a design pattern (flex) example;