Pointing out 2 design patterns