add input for resonance frequency, 'lambda' func to sub res. freq.