changed compare function