finished compare, added compare example
added comment