redoing theta_grad_profs for defense