debug work