working on compare