manual compare, diff doesn't work