Changed module initialization method