debugged mt and mp