implementing attribute comparison, work in progress
fun name change
in process of adding attribute comparison