changed accessibility on getModules