Final commit: one fucntion mt_check that does everything