simple comparison codes.