location comparison