working on resonsance analyzer