Design pattern samples