added debugging back