ifdef DIAGNOSTIC should be ifdef DEBUG (from mycroft)