optia function for modules added