more debug work