add debug arg to init