loading modules in advance