adding the debug option