initial checkin of comparison functions.