now the debug is really optional