We give a summary of a new method to calculate positions and widths of two-electron atomic (molecular) doubly excited states. This procedure, based on a formal analogy between the Feshbach formalism and the Phillips-Kleinman pseudopotential approach, yields results in very good agreement with those obtained with the standard Feshbach formalism, and requires a considerably smaller computational effort in cases where the resonant states of interest lie above several ionization thresholds. This alternative method can be easily generalized and has been applied to the treatment of doubly excited states of systems with a closed shell core.