Let Ω = {r < 0} ⊂ C 2 , with r plurisubharmonic on bΩ = {r = 0}. Let ρ be another defining function for Ω. A formula for the determinant of the complex Hessian of ρ in terms of r is computed. This formula is used to give necessary and sufficient conditions that make ρ (locally) plurisubharmonic.As a consequence, if Ω admits a defining function plurisubharmonic on bΩ and all weakly pseudoconvex of bΩ have the same D'Angelo 1-type, then Ω admits a plurisubharmonic defining function.2010 Mathematics Subject Classification. 32T27.