compareView implemented

- compareView added
- some minor fixes