Added sample design pattern