prototype for resonators