starting to put in debug system