using the source at resonant condition