started to implement first order MPGraph generator