background and final debug