Pattern examples and implementations