added some comparison helpers