extract modules