improved MNGraph