using a resonant converter