removed some old code
First working version of compare