ADDED: module type selection