Wrapping up compare functionality.