part of debug