expose comparison functions