registering modules is done.