Design pattern examples for reference