MPCOR problem formulated, needs to be checked
debugging