Functions of a complex M&E system