sample design pattern executables