expecting more practical examples on design pattern