Design patterns samples