updated comparison