adds mutecies. Still got a segfault after a while. Not sure why
flushes cout on diagram stop