rearranging order of module loading