Change function name
Function "compareResonator" -> "isSameResonator"