added a new debug system