added in the compare class