implement side-by-side comparison