added module addition code