added some more comparison functions