parameterisized module and added raid build