rewrote checks to use M3 instead of old JDT bridge