adding back debug