Samples design patterns