update for new debugging