initial version of design pattern examples