included main class into  define