added documentation; completed MC