jaideep|refactoring god method generateForDynamic