Added location comparison