moved viewModuleID to class level