data comparison edge cases and other exercises