debugging mod/preamble